package b.olap

final case class DimDef(label: String, value: String)

final case class Dim(name: String, defs: List[DimDef] = List.empty[DimDef]) {
  def add(label: String, value: String): Dim =
    copy(defs = defs.::(DimDef(label, value)))
}
